iThemesSecurity\Ban_Hosts\REST A

Total Complexity 74
Dependencies 17
Dependents 1
Total lines 511
Lines of code 371
Logical lines of code 158
Comment lines 52
Methods 18
Properties 2

Methods 18

Method Rating Maintainability Complexity Lines of code
get_items()
B
38 23 61
get_item_schema()
A
40 5 72
register_routes()
S
42 5 60
get_collection_params()
S
46 6 42
get_allowed_headers()
S
61 5 12
add_collection_links()
S
62 5 10
create_item()
S
55 3 18
get_items_permissions_check()
S
64 4 9
update_item()
S
58 3 14
prepare_item_for_response()
S
55 2 20
update_item_permissions_check()
S
69 2 6
delete_item_permissions_check()
S
69 2 6
delete_item()
S
65 2 8
create_item_permissions_check()
S
69 2 6
get_item()
S
66 2 7
prepare_links()
S
62 1 11
get_item_permissions_check()
S
80 1 3
__construct()
S
71 1 6